home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
4287
/
4287.xpi
/
chrome
/
splitbrowser.jar
/
content
/
splitbrowser
/
splitbrowser.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2009-11-05
|
4KB
|
148 lines
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/* Apply Bindings */
#appcontent {
-moz-binding: url("./splitbrowser.xml#toplevel-container") !important;
}
#appcontent > vbox > vbox > hbox > .primary-browser-wrapper {
-moz-binding: url("./splitbrowser.xml#subbrowser-primary") !important;
}
subbrowser-container {
-moz-binding: url("./splitbrowser.xml#container") !important;
}
subbrowser {
-moz-binding: url("./splitbrowser.xml#subbrowser") !important;
}
vbox.vertical-container > hbox.horizontal-container {
-moz-binding: url("./splitbrowser.xml#horizontal-container") !important;
}
vbox.vertical-container {
-moz-binding: url("./splitbrowser.xml#vertical-container") !important;
}
/* tabbed browsing mode / simple mode */
subbrowser:not([browsertype="simple"]) > .subbrowser-browser-box > browser,
subbrowser[browsertype="simple"] > .subbrowser-browser-box > tabbrowser {
display: none;
}
/* Toolbar Behaviour */
.subbrowser-toolbar-content {
overflow: hidden;
}
.subbrowser-toolbar-item.urlbar-favicon-box {
cursor: -moz-grab;
}
.subbrowser-toolbar-item.button.reload[disabled="true"],
.subbrowser-toolbar-item.button.stop[disabled="true"],
.subbrowser-toolbar-item.button.syncScroll,
.subbrowser-toolbar-item.button.collapse,
.subbrowser-toolbar-item.button.expand {
visibility: collapse;
}
:root[subbrowser-show-syncScroll-button="true"] subbrowser:not([content-collapsed="true"]) .subbrowser-toolbar-item.button.syncScroll,
:root[subbrowser-show-togglecollapsed-button="true"] subbrowser:not([content-collapsed="true"]) .subbrowser-toolbar-item.button.collapse,
:root[subbrowser-show-togglecollapsed-button="true"] subbrowser[content-collapsed="true"] .subbrowser-toolbar-item.button.expand {
visibility: visible;
}
stack[anonid="toolbar-deck"]:not([selectedIndex="1"]) > [anonid="toolbar-deck-navbar"],
stack[anonid="toolbar-deck"]:not([selectedIndex="0"]) > [anonid="toolbar-deck-titlebar"] {
visibility: hidden;
}
stack[anonid="toolbar-deck"]:not([selectedIndex="1"]) > [anonid="toolbar-deck-navbar"] .urlbar-favicon {
visibility: collapse;
}
/* vertical toolbar */
.subbrowser-toolbox-vertical,
subbrowser[toolbar-mode="vertical"] .subbrowser-toolbox-horizontal {
visibility: collapse;
}
subbrowser[toolbar-mode="vertical"] .subbrowser-toolbox-vertical {
visibility: visible;
}
.subbrowser-toolbox-vertical {
overflow: hidden;
}
.subbrowser-vertical-title {
overflow: hidden;
white-space: pre;
text-align: center;
line-height: 1;
}
/* popup-button */
#splitbrowser-add-button-panel {
-moz-appearance: none;
background: transparent;
-moz-border-top-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
margin: 0;
padding: 0;
background: transparent !important;
z-index: auto;
}
#splitbrowser-add-button-in-panel {
cursor: pointer;
width: 0;
height: 0;
}
/* make "tabbrowser" being able to be collapsed */
subbrowser tabbrowser.subbrowser-browser .tabbrowser-arrowscrollbox {
min-width: 0 !important;
}
subbrowser tabbrowser.subbrowser-browser > tabbox,
subbrowser tabbrowser.subbrowser-browser .tabbrowser-strip {
overflow: hidden !important;
min-width: 0 !important;
}
/* menu */
:root:not([splitbrowser-show-tab-context-split="true"]) .splitbrowser-split-item.tab-context,
:root:not([splitbrowser-show-tab-context-layout-grid="true"]) .splitbrowser-layout-grid-item.tab-context,
:root:not([splitbrowser-show-tab-context-layout-x="true"]) .splitbrowser-layout-x-item.tab-context,
:root:not([splitbrowser-show-tab-context-layout-y="true"]) .splitbrowser-layout-y-item.tab-context,
:root:not([splitbrowser-show-tab-context-gather="true"]) .splitbrowser-gather-item.tab-context,
:root:not([splitbrowser-show-tab-context-layout-grid="true"]):not([splitbrowser-show-tab-context-layout-x="true"]):not([splitbrowser-show-tab-context-layout-y="true"]):not([splitbrowser-show-tab-context-gather="true"]) .splitbrowser-tab-context-separator {
display: none;
}